package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 劳动收入对象 sys_do
 * 
 * @author fengzy
 * @date 2022-04-11
 */
public class SysDo1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水编号 */
    @Excel(name = "流水编号")
    private Long doId;

    /** 罪犯编号 */
    @Excel(name = "罪犯编号")
    private Long userId;

    /** 罪犯姓名 */
    @Excel(name = "罪犯姓名")
    private String userName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 发生额 */
    @Excel(name = "发生额")
    private Long amountOfOccurrence;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trantsDatetime;

    /** 删除标志 */
    private String delFlag;

    public void setDoId(Long doId) 
    {
        this.doId = doId;
    }

    public Long getDoId() 
    {
        return doId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAmountOfOccurrence(Long amountOfOccurrence) 
    {
        this.amountOfOccurrence = amountOfOccurrence;
    }

    public Long getAmountOfOccurrence() 
    {
        return amountOfOccurrence;
    }
    public void setTrantsDatetime(Date trantsDatetime) 
    {
        this.trantsDatetime = trantsDatetime;
    }

    public Date getTrantsDatetime() 
    {
        return trantsDatetime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doId", getDoId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("type", getType())
            .append("amountOfOccurrence", getAmountOfOccurrence())
            .append("trantsDatetime", getTrantsDatetime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
